import { GlobalData, create as createGlobalData } from "./GlobalData"
import { Helper } from "./Helper"

App<{
  globalData: GlobalData
}>({
  globalData: createGlobalData(),

  onLaunch(options) {
    // 第一次打开
    // options.query == {number:1}
    console.info('App onLaunch');
    new Helper().getRequest();
  },
  onShow(options) {
    // 从后台被 scheme 重新打开
    // options.query == {number:1}
  }
});

